//
//  NetManager.h
//  Net2
//
//  Created by Justsoso on 16/3/29.
//  Copyright © 2016年 Justsoso. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetManager : NSObject

+ (BOOL)longWithUserName:(NSString *)username andPassWord:(NSString *)password;

+ (void)longWithUserName:(NSString *)username
             andPassWord:(NSString *)password
            successBlock:(void (^)())successBlock
             failedBlock:(void(^)(NSError *error))failBlock;

+ (void)requestMovieListWithSuccessBlock:(void (^)(NSArray *arr))successBlock
                             failedBlock:(void (^)(NSError *error))failBlock;
@end
